package com.lwlean.test.utils.exceltest.Exception;

import java.util.List;

/**
 * Created by lean on 2017/6/25.
 */
public class ExcelException extends RuntimeException{

    private List<String> ErrorList;
    private String message;

    public ExcelException(List<String> errorList) {
        ErrorList = errorList;
    }

    public ExcelException(String message) {
        super(message);
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<String> getErrorList() {
        return ErrorList;
    }

    public void setErrorList(List<String> errorList) {
        ErrorList = errorList;
    }
}
